<?php session_start();?>
<!DOCTYPE html> 
<html> 
<head> 
	<title>Holder-infos-en</title> 
	<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
  <link rel="stylesheet" href="custom.css" />
	   <!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

    <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
   
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>

</head> 
	<body>

	<div data-role="page" id="main" style="max-width:535px; z-index:0;">
<?php 
  $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
  	if(isset($_GET["lang"]))
  	{
  		$_SESSION['language']=$_GET["lang"];
  		$sitelang=$_GET["lang"];
  		switch ($_GET["lang"])
			{
   			 case 'en':
       
       			 $sitelang='en';
        		$changelang="fr";
        		break;
   			 case 'fr':
       			 $sitelang='fr';
       			 $changelang="en";
       			 break;
   
   			 default:
       			 $sitelang='en';
        			 $changelang="fr";
       			 break;
	}//switch
  		
  	}else{
 	if(isset($_SESSION['language']))
 	{
 		  switch ($_SESSION['language'])
			{
   			 case 'en':
       
       			 $sitelang='en';
        		$changelang="fr";
        		break;
   			 case 'fr':
       			 $sitelang='fr';
       			 $changelang="en";
       			 break;
   
   			 default:
       			 $sitelang='en';
        			 $changelang="fr";
       			 break;
			}//switch
 		
 		
 		}else{

	switch ($lang)
	{
    case 'en':
       
        $sitelang='en';
        $changelang="fr";
        break;
    case 'fr':
        $sitelang='fr';
        $changelang="en";
        break;
   
    default:
        $sitelang='en';
         $changelang="fr";
        break;
	}//switch
 	}//if isset session
  	}//if url lang
 ?>   
    
<div id="wrap">





	<div id="wrap-header">
		<div id="header" >
		<a href="index.php?lang=<?php echo $sitelang;?>"><img id="logo" src="images/infos-header-<?php echo $sitelang;?>.jpg" width="100%" style="z-index:2; margin-bottom:-6%"> </a>
          
		</div><!-- /header -->
    </div><!--/wrap-header-->



<div id="wrap-center">

</div><!--/wrap-center-->

		<?php 
			include "infocontent-".$sitelang.".php"
		?>


	<!--<div id="wrap-foot">
		<div id="foot" >
        

		</div><!-- /footer -->
	<!--</div><!--/wrap-foot-->

  


</div><!--/wrap-->
</div><!-- /page -->
</body>